import {
	validatePhone,

} from '@/utils/validates.js';
const formRules = {
	nickname: {
		rules: [{
			required: true,
			errorMessage: '请输入姓名',
		}],
		validateTrigger: 'blur'
	}, 
	contact_phone: {
		rules: [{
			required: true, 
			errorMessage: '请输入手机号码',
		}, {
			validateFunction: validatePhone
		}],
		validateTrigger: 'blur'
	},
	address: {
		rules: [{
			required: true,
			errorMessage: '请输入地址',
		}],
		validateTrigger: 'blur'
	},

}
export {
	formRules,

}